

export enum OrderType {
    '已下单',
    '已发货',
    '已激活',
    '已打回',
}



// 根据枚举获取枚举类的数组 
  export const chageEnum = (NumericEnum: any)=> {
    const arr1 = Object.keys(NumericEnum)
    .filter((v) => isNaN(Number(v)))
    .map((name) => {
      return {
        value: NumericEnum[name as keyof typeof NumericEnum],
        name,
      };
    });

    return arr1
  }